//
//  Category.h
//  Contacts
//
//  Created by 武 娇 on 14-8-2.
//  Copyright (c) 2014年 李 雷川. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NoticeCategory : NSObject{
    NSInteger ID;
    NSString *name;
    NSInteger newsCount;
    NSInteger sort;
    NSString *ico;
    NSString *imageIco;
}
@property(nonatomic, assign)NSInteger ID;
@property(nonatomic, retain)NSString *name;
@property(nonatomic, assign)NSInteger newsCount;
@property(nonatomic, assign)NSInteger sort;
@property(nonatomic, retain) NSString *ico;
@property(nonatomic, retain) NSString *imageIco;

+(NoticeCategory *)analysisNoticeCategoryWithDic:(NSDictionary *)dic;
+(NSArray *)getCategorys;
+(NoticeCategory *)getCategoryWithID:(NSInteger )categoryID;
+(BOOL)saveWithCategorys:(NSArray *)categorys;
@end
